Part Number Hot Search : 
CKDIAAAA ALE13B48 IT130 TDA1549 DTA11 2SK17 OK5155 SR2060
Product Description
Full Text Search
 

To Download DS2480B Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  1 of 31 070103 features  universal, common-ground serial port to 1- wire ? line driver for microlan applications  works with all ibuttons ? and microlan- compatible 1-wire slave devices  communicates at regular and overdrive 1- wire speed and serial port data rates of 9600 (default), 19200, 57600, and 115200 bps  supports 12v eprom programming and stiff 5v pullup for crypto ibutton, sensors and eeprom  load sensor to terminate the stiff pullup as the energy demand of the crypto ibutton drops  self-calibrating time base with  5% tolerance for serial and 1-wire communication  slew rate controlled 1-wire pulldown and active pullup to accommodate long lines and reduce radiation  user-selectable rxd/txd polarity minimizes component count when interfacing to 5v based rs232 systems or directly to uarts  programmable 1-wire timing and driver characteristics accommodate a wide range of microlan configurations at regular speed  smart protocol combin es data and control information without requiring extra pins  compatible with optical, ir, and rf to rs232 converters  low-cost 8-pin so surface-mount package  operates over 4.5v to 5.5v from -40c to +85c pin assignment pin description gnd - ground 1-w - 1-wire input/output nc - no connection v dd - 4.5v to 5.5v v pp - optional eprom programming voltage pol - rxd/txd polarity select txd - serial data from uart rxd - serial data to uart ordering information DS2480B 8-pin so DS2480B/t&r tape-and-reel version of the DS2480B description the DS2480B is a serial port to 1-wire interface chip that supports regular and overdrive speeds. it con- nects directly to uarts and 5v rs232 systems. in terfacing to rs232c (12v levels) requires a passive clamping circuit and one 5v to 12v level translator. internal timers relieve the host of the burden of generating the time-critical 1-wire communication wave forms. in contrast to the ds9097(e) where a full DS2480B serial 1-wire line driver with load senso r www.maxim-ic.com 1 2 3 4 8 7 6 5 gnd 1-w n c vdd rxd txd pol vpp 8-pin so (150 mil) 1-wire and ibutton are registered trademarks of dallas semiconductor.
DS2480B 2 of 31 character must be sent by the host for each 1-wire time slot, the DS2480B can translate each character into eight 1-wire time slots, thereby increasing th e data throughput significantly. in addition, the DS2480B can be set to communicate at four di fferent data rates, including 115.2kbps, 57.6kbps, and 19.2kbps, with 9.6kbps being the power-on default. co mmand codes received from the host?s crystal controlled uart serve as a reference to continuous ly calibrate the on-chip timing generator. the DS2480B uses a unique protocol that merges data and control information without requiring control pins. this approach maintains compatibility to off-the-she lf serial to wireless converters, allowing easy realization of 1-wire media jump ers. the various control functions of the DS2480B are optimized for microlan 1-wire networks and support the special ne eds of all current 1-wire devices including the crypto ibutton, eprom-based add-only memories , eeprom devices, and 1-wire thermometers. detailed pin description pin symbol description 1 gnd ground pin. common ground reference and ground return for 1-wire bus 21-w 1-wire input/output pin. 1-wire bus with slew -rate-controlled pulldown, active pullup, ability to switch in v pp to program eprom, and ability to switch in v dd through a low-impedance path to program eeprom, perform a temperature conversion, or operate the crypto ibutton. 3 n.c. no connection 4v dd power input pin. power supply for the chip and 1-wire pullup voltage, 5v 10%, must always be lower than or equal to v pp . v dd should be derived from v pp by a separate voltage regulator whenever possible. 5v pp eprom programming voltage. 12v supply input for eprom programming. if eprom programming is not required, connect this pin directly to the system?s 5v supply. 6pol rxd/txd polarity select. rxd/txd polarity select; tied to gnd for rs232 (12v or 5v) connection; tied to v dd for direct connection to uart chip. 7txd serial data from uart. data input from host (inve rted or true); maximum voltage swing -0.3v to v dd + 0.3v; for logic thresholds see dc specifications. 8rxd serial data to uart. signal output to host; push-pull driver with cmos compatible levels; for true  12v rs232 systems an external level translator must be provided. overview the DS2480B directly interfaces a 5v serial communication port with its lines txd (transmit) and rxd (receive) to a 1-wire bus. in addition the device perfor ms a speed conversion allowing the data rate at the communication port to be different from the 1-wire data rate. several parameters relating to the 1-wire port and its timing as well as the communication speed at both the port and the 1-wire bus are configurable. the circuit to achieve these functions is outlined in the block diagram (see figure 1). the device gets its input data from the serial comm unication port of the host computer through pin txd. for compatibility with active-high as well as active-low systems, the incoming signal can be inverted by means of the polarity input pol. the polarity chosen by hard-wiring the logic level of this pin is also valid for the output pin rxd. if for minimizing the interface hardware an asymmetry between rxd and txd is desired, this can be achieved by setting the most significant bit of the speed control parameter to a 1 (see configuration parameter value codes ). with the ms bit of the speed control set to 1, the polarity at txd is still selected by the logic level at pol, but the polarity at rxd will be the opposite of what the logic level at pol specifies.
DS2480B 3 of 31 as data enters the core of the DS2480B?s logic circ uitry, it is analyzed to separate data and command bytes and to calibrate the device?s timing generator. the timing generator controls all speed relations of the communication interface and the 1-wire bus as well as the waveforms on the 1-wire bus. command bytes either affect the configuration setting or generate certain waveforms on the 1-wire bus. data bytes are simply translated by the protocol converter into the appropria te 1-wire activities. each data byte generates a return byte from the 1-wire bus that is communicated back to the host through the rxd pin as soon as the activity on the 1-wire bus is completed. the 1-wire driver shapes the slopes of the 1-wire waveforms, applies programming pulses or strong pullup to 5v and reads the 1-wire bus using a non-tt l threshold to maximize the noise margin for best performance on large 1-wire microlan networks. figure 1. DS2480B block diagram device operation the DS2480B can be described as a complex state machine with two st atic and several dynamic states. two device-internal flags as well as functions assigned to certai n bit positions in the command codes determine the behavior of the chip, as shown in the state transition diagram (figure 2). the DS2480B requires and generates a comm unication protocol of 8 data bits per ch aracter, 1 stop bit and no parity. it is permissible to use 2 stop bits on the txd line. ho wever, the DS2480B only asserts a single stop bit on rxd. when powering up, the DS2480B performs a master reset cycle and enters the command mode , which is one of the two static states. the device now ex pects to receive one 1-wire reset command on the txd line sent by the host at a data rate of 9600bps (see communication commands section for details). this command byte is required solely for calibration of the baud rate timing generator the DS2480B and is not translated into any activity on the 1-wire bus. after this first command byte the device is ready to receive and execute any command as described later in this document. note: baud rate calibration is valid only for the v dd operating voltage at which calibration is performed. post-calibration changes in v dd by more than 5% may cause calibration error to exceed  5%.
DS2480B 4 of 31 figure 2. state transition diagram legend: v binary value (type of write time slot) ss 1-wire speed selection code p if logic 1, generates strong pullup to 5v immediately following the time slot t type of pulse; 0 = strong pullup (5v), 1 = programming pulse (12v) q 1 = arm strong pullup after every byte; 0 = disarm h search accelerator control; 1 = accelerator on, 0 = accelerator off zzz configuration parameter code (write), 000 = read configuration parameter vvv configuration parameter value code (write), configuration parameter code (read) x don?t care
DS2480B 5 of 31 a master reset cycle can also be generated by means of software. this may be necessary if the host for any reason has lost synchronization with the devi ce. the DS2480B will perform a master reset cycle equivalent to the power-on reset if it detects start polarity in place of the stop bit. the host has several options to generate this condition. these include ma king the uart generate a break signal, sending a null character at a data rate of 4800bps and sending any character with parity enabled and selecting space polarity for the parity bit. as with the pow er-on reset, the DS2480B requires a 1-wire reset command sent by the host at a da ta rate of 9600bps for calibration. after the DS2480B has reached the command mode, the host can send co mmands such as 1-wire reset, pulse, configuration, search accelerator, and single bit functions or switch ov er to the second static state called data mode . in data mode the DS2480B simply conve rts bytes it receives at the txd pin into their equivalent 1-wire wave forms and reports the results back to the host through the rxd pin. if the search accelerator is on, each byte seen at txd will generate a 12-bit sequence on the 1-wire bus (see search accelerator section for details). if the strong pullup to 5v is enabled (see pulse command ), each byte on the 1-wire bus will be followed by a paus e of predefined duration where the bus is pulled to 5v via a low-impedance transistor in the 1-wire driver circuit. while being in the data mode the DS2480B checks each byte received from the host for the reserved code that is used to switch back to command mode. to be able to write any possible code (including the reserved one) to the 1-wire bus, the transition to the command mode is as follows: after having received the code for switching to command mode , the device temporarily enters the check mode where it waits for the next byte. if both bytes are the same, the byte is sent once to the 1-wire bus and the device returns to the data mode. if the second byte is different from the reserved code, it will be executed as command and the device finally enters the command mode. as a consequence, if the reserved code that normally switches to command mode is to be written to the 1-wire bus, this code byte must be sent twice (duplicated). this detail must be considered caref ully when developing software drivers for the DS2480B. after having completed a memory function with a device on the 1-wire bus it is recommended to issue a reset pulse. this means that the DS2480B has to be switched to command mode. the host then sends the appropriate command code and continues performing other tasks. if during this time a device arrives at the 1-wire bus it will generate a presence pulse . the DS2480B will recognize this unsolicited presence pulse and notify the host by sending a byte such as xxxxxx01b. the xs represent undefined bit values. the fact that the host receives the byte unsolicited toge ther with the pattern 01b in the least significant 2 bits marks the bus arrival. if the DS2480B is left in data mode after co mpleting a memory function command it will not report any bus arrival to the host. command code overview the DS2480B is controlled by a variety of commands. all command codes are 8 bits long. the most significant bit of each command code distingu ishes between communica tion and configuration commands. configuration commands access the configuration registers. they can write or read any of the configurable parameters. communica tion commands use data of the conf iguration register in order to generate activity on the 1-wire bus and/or (dis)arm the strong pullup after every byte or (de)activate the search accelerator without generating activity on the 1-wire bus. details on the command codes are included in the state transition diagram (figure 2) . a full explanation is given in the subsequent communication commands and configuration commands sections.
DS2480B 6 of 31 in addition to the command codes explained in the subsequent sections the DS2480B understands the following reserved command codes: e1h switch to data mode e3h switch to command mode f1h pulse termination except for these reserved commands, the search accel erator control and the first byte after power-on reset or master reset cycle, every legal command by te generates a response by te. the pulse termination code triggers the response byte of the terminat ed pulse command. illegal co mmand bytes do not generate a command response byte. communication commands the DS2480B supports four communication function co mmands: reset, single bit, pulse, and search accelerator control. details on the assignment of each bit of the command codes are shown in table 1. the corresponding command response bytes are detaile d in table 2. the reset, search accelerator control and single bit commands include bits to select the 1-wire comm unication speed (regular, flexible regular, overdrive). even if a command does not generate activity on the 1-wire bus, these bits are latched inside the device and will take effect immediately. reset the reset command must be used to begin all 1- wire communication. the speed selection included in the command code immediately takes effect. the res ponse byte includes a code for the reaction on the 1-wire bus (bits 0 and 1) and a code for the chip revision (bits 2 to 4). single bit the single bit command is used to generate a single time slot on the 1-wire bus at the speed indicated by bits 2 and 3. the type of the time slot (write-0 or write-1) is determined by the logic value of bit 4. a read data time slot is identical to the write-1 time slot. bits 0 and 1 of the response byte transmitted by the DS2480B at the end of the time slot reveal the value found on the 1-wire bus when reading. for a time slot without a subsequent strong pullup, b it 1 of the command must be set to 0. for a time slot immediately followed by a strong pullup bit 1 must be set to 1. as soon as the strong pullup is over, the device will send a second response byte, code efh (r ead 1) or ech (read 0), depending on the value found on the 1-wire bus when reading. the strong pu llup directly following the single bit is used in conjunction with the crypto ibutton.
DS2480B 7 of 31 table 1. communication command codes function bit 7 bit 6 bit 5 bit 4 bit 3, bit 2 bit 1 bit 0 single bit 1 0 0 0 = write 0 1 = write 1 00 reg. speed 01 flex. speed 10 od. speed 11 reg. speed see text 1 search accelerator control 101 0 = accelerator off 1 = accelerator on see text 00 reg. speed 01 flex. speed 10 od. speed 11 reg. speed 01 reset 1 1 0 (don?t care) 00 reg. speed 01 flex. speed 10 od. speed 11 reg. speed 01 pulse 1 1 1 0 = 5v strong pullup 1 = 12v prog. pulse 11 pulse see text 1 table 2. communication command response function bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 single bit 1 0 0 same as sent 1-wire read back, both bits same value reset 1 1 x 011 00 = 1-wire shorted 01 = presence pulse 10 = alarming presence pulse 11 = no presence pulse pulse 1 1 1 same as sent undefined x: this bit is reserved and undefine d. in previous data sheet versions th is bit was used to indicate that a programming voltage was present. search accelerator control the search accelerator control command is used to set or reset the search accelerator control flag. bit 4 of the command code contains the state to which the accelerator control flag is to be set. if the flag is set to a 1 (on) the device translates every byte received in data mode into a 12-bit sequence on the 1-wire bus. for details on how the search accelerator works please refer to the section search accelerator operation. before activating the search accelerator, one must make sure that the strong pullup after every byte is disarmed (see pulse command ). the search accelerator command does not generate a command response byte. although the search accelerator control command itself does not generate any 1- wire activity, it can be used to select the communication speed on the 1-wi re bus. the speed selection (if different from the previous setting, e.g., from a reset command) will take effect immediately. pulse the pulse command serves several functions that are se lected by the contents of bit 1 and bit 4 of the command code. the main functions are generatin g a strong pullup to 5v and generating 12v programming pulses for eprom devices (if the 12v are available at the v pp pin). the secondary function
DS2480B 8 of 31 of the pulse command is arming and disarming a strong pullup after every subseque nt byte in data mode. the arm/disarm function is controlled by bit 1 of the command code. bit 4 determines whether the device will generate a strong pullup to 5v or a 12v programming pulse. the table below summarizes these options. bit 4 bit 1 function 0 0 strong pullup to 5v and disarm 1 0 12v programming pulse and disarm 0 1 strong pullup to 5v and arm 1 1 12v programming pulse and arm the strong pullup to 5v is required to program eep rom devices or to operate special function devices that require a higher current for a limited time after having received a ?go and convert? command. therefore, and because it significantly reduces the ef fective data throughput on the 1-wire bus, the strong pullup is disarmed most of the time. although ar ming or disarming is s imultaneously possible while generating a programming pulse, this is not recomme nded since it is likely to destroy the DS2480B if non-eprom devices are connected to the 1-wire bus. the duration of the strong pullup or programming pulse is determined by configuration parameters and ranges from a few microseconds over ?dynamic? duration (strong pullup only) up to unlimited (see configuration commands section). however, unlimited duration is not allowed in conjunction with arming the strong pullup after every byte. as long as the DS2480B is in command mode the host may terminate a strong pullup or programming pulse prematurely at any time by sending the command code f1h. the response byte is generated as soon as the str ong pullup or programming pulse is over (either because the predefined time has elapsed, the high current demand is over, or due to termination by the host). the response byte mainly returns the command code as sent by the host, but the 2 least significant bits are undefined. if the strong pullup is armed and the device is in data mode, the end of the strong pullup will be signaled as code f6h if the most significant bit of the pr eceding data byte on the 1-wire bus is a 1 and 76h otherwise. the host will see this response byte in a ddition to the response on the data byte sent (see also waveforms section later in this document). search accelerator introduction the search accelerator is a logic block inside the DS2480B that allo ws using the search rom function very efficiently under modern operating systems such as windows ? and windows 95/nt. without the DS2480B all 1-wire port adapters have to involve the computer?s cpu fo r every single time slot or pulse to be generated on the 1-wire bus. under dos, accessing peripherals such as the uart or parallel port is very straight forward and, therefore, fast. under windows the situation is diffe rent and it may take seve ral milliseconds or more to get the first time slot generated on the 1-wire bus. every subsequent time slot will be generated in much less time, since the computer simply sends out ?streams??a long chain of bytes. this works reasonably well when reading or writing large blocks of data. searching the 1-wire bus to identify all rom ids of the devices connected, however, requires reading 2 bits, making a decision and then writing a bit. this procedure is to be repeated 64 times to identify and address a single device. with the overhead of modern operating systems this fairly simple process takes a windows is a registered trademark of microsoft corp.
DS2480B 9 of 31 lot of time, reducing the discovery rate of devices on the 1-wire bus from a typical value of 40 to 50 per second under dos to less than 10 under windows. to so lve this problem the s earch accelerator was developed. during the execution of the search rom function, the search accelerator receives from the host information on the preferred path to choose as one con tiguous chain of bytes and then translates it into the appropriate time slots on the 1-wire bus. in addition, the search acce lerator reports back to the host the rom id of the device actually addressed and the bit positions in which conflicts were found. (if the rom id of one device has a 0 in a bit position where another device has a 1, this is called a ?conflict? on the electrical level and ?discrepancy? on the logical level. see the book of ds19xx ibutton standards for a more detailed discussion of the search rom.) this helps the host to select the preferred path for the next search rom activity. since the rom id of all microlan compatible devices is 64 bits long and a conflict may occur in any of these bits, the total length of data reported to the hos t is 128 bits or 16 bytes. to avoid data overrun (if the cpu sends data faster than it can be processed) the protocol for th e search accelerator operation was defined so that one has to send as many bytes as one will receive. this way the cpu sends 16 bytes for each path and the uart guarantees the correct data timing and frees the cpu for other tasks while the DS2480B performs a search rom function. search accelerator operation after the search accelerator is activated and the data mode is selected, the host must send 16 bytes to complete a single search rom pass on the 1-wire bus. these bytes are constructed as follows: first byte 76543210 r 3 x 3 r 2 x 2 r 1 x 1 r 0 x 0 et cetera 16 th byte 76543210 r 63 x 63 r 62 x 62 r 61 x 61 r 60 x 60 in this scheme, the index (values from 0 to 63, ?n?) de signates the position of the bit in the rom id of a microlan compatible device. the character ?x? marks bits that act as filler and do not require a specific value (?don?t care? bits). the character ?r? marks the path to go at that particular bit in case of a conflict during the execution of the rom search. for each bit position n (values from 0 to 63) the DS2480B will generate three time slots on the 1-wire bus. these are referenced as: b0 for the first time slot (read data) b1 for the second time slot (read data) and b2 for the third time slot (write data).
DS2480B 10 of 31 the type of time slot b2 (write 1 or write 0) is determined by the DS2480B as follows: b2 = r n if conflict (as chosen by the host) = b 0 if no conflict (there is no alternative) = 1 if error (there is no response) the response the host will receive during a complete pass through a search rom function using the search accelerator consists of 16 bytes as follows: first byte 76543210 r? 3 d 3 r? 2 d 2 r? 1 d 1 r? 0 d 0 et cetera 16 th byte 76543210 r? 63 d 63 r? 62 d 62 r? 61 d 61 r? 60 d 60 as before, the index (values from 0 to 63, ?n?) designates the position of the bit in the rom id of a microlan compatible device. the character ?d? marks the discrepancy flag in that particular bit position. the discrepancy flag will be 1 if there is a co nflict, or no response in th at particular bit position, and 0 otherwise. the character ?r? marks the actuall y chosen path at that particular bit position. the chosen path is identical to b2 for th e particular bit position of the rom id. to perform a search rom sequence one starts with all bits r n being 0s. in case of a bus error, all subsequent response bits r? n are 1s until the search accelerator is deactivated. thus, if r? 63 and d 63 are both 1, an error has occurred during the search procedure and the last sequence has to be repeated. otherwise r? n (n = 0 ... 63) is the rom code of the device that has been found and addressed. for the next search rom sequence one reuses the previous set r n (n = 0 ... 63) but sets r m to 1 with ?m? being the index number of the highest discre pancy flag (that is, 1) and sets all r i to 0 with i > m. this process is repeated until the highest discrepancy occurs in the same bit position for two consecutive passes. the table below shows an example for the comm unication between host and DS2480B to perform one pass through the search rom function using the search accelerator. after a device has been identified and addressed, a memory function (not specified here) is executed and finally a reset pulse is generated. this example assumes that the DS2480B was in comma nd mode and that regular 1-wire speed is used.
DS2480B 11 of 31 search accelerator usage example action sequence host tx host rx generate reset pulse c1 cd or ed set data mode e1 (nothing) search rom command f0 (as sent) set command mode e3 (nothing) search accelerator on b1 (nothing) set data mode e1 (nothing) send 16 bytes data (response) set command mode e3 (nothing) search accelerator off a1 (nothing) set data mode e1 (nothing) do memory function set command mode e3 (nothing) generate reset pulse c1 cd or ed configuration commands the DS2480B is designed to be configurable for th e varying requirements of its application. when the device powers up and/or performs a master reset cycle, the hard-wired default configuration settings take effect. these settings will work on a short 1-wire bus and assume regular 1-wire communication speed. to change these default settings and to verify the current settings, the logic of the DS2480B supports configuration commands. a summary of the available configuration parameters, their default settings at regular and overdrive speed and their applicability is shown in table 3. parameters not related to the communication speed on the 1-wire bus specify the duration of the 12v programming pulse, the duration of the strong pullup to 5v, the threshold current of the load sensor for ?dynamic? strong pullup duration, and the baud rate on the interface that connects the DS2480B to the host. the remaining three parameters are used to modify the 1-wire communication waveforms if one selects ?flexible speed? (see communication commands for speed selection). flexible speed is implemented to improve the performance of large microlan networks. this is accomplished by:  limiting the slew rate on falling edges (e. g., at the beginning of time slots, to reduce ringing),  extending the write-1 low time (allows the current flow through the network to end slowly, to prevent voltage spikes from inductive kickback),  delaying the time point when reading a bit from the 1-wire bus (gives the network more time to stabilize, to get a higher voltage margin) and  adding extra recovery time between write-0 time slots (allows more energy transfer through the network, to replenish the parasite pow er supply of the devices on the bus). the latter two functions are controlled by a single parameter. taking advantage of flexible speed requires changing one or more of these parameters from their default values. otherwise the waveforms will be identical to those at regular speed. each configuration parameter is identified by its 3-bit parameter code and can be programmed for one of a maximum eight different values using a 3-bit value code. a matrix of parameter codes and value codes with the associated physical values in shown in table 4.
DS2480B 12 of 31 table 3. configuration parameter overview configurable at default parameter description par. code regula r flexible overdrive reg./flex. overdrive pulldown slew rate control 001 15v/s 15v/s programming pulse duration 010 ? 512s 512s strong pullup duration 011 ? 524ms 524ms write-1 low time 100 8s 1s data sample offset and write 0 recovery time 101 3s 3s 1s 3s load sensor threshold 110 ? 3ma 3ma rs232 baud rate 111 ? 9.6kbps 9.6kbps the numbers given for parameter 001 (pulldown slew rate control) are nominal values. they may vary to some extent and are almost i ndependent of the load on the 1-wire bus. information on how to select the optimum value of this parameter is given in the controlled edges section . parameter 110 (load sensor threshold) has been implemented in or der to more efficiently support the high current demand of the crypto ibutton. the load sensor is only active if ?dynamic? (value code 110) for the strong pullup duration (parameter 011) has be en selected. the nominal and default value for the load sensor threshold is 3.0ma with a tolerance ba nd of -25% to +80%. the sensor threshold should be left at its default value; changes should only be ma de to compensate for tolerances. dynamic duration should only be used when operating crypto ibutt ons and not for gang-programming 1-wire eeproms or measuring temperature with multiple temp erature sensors conve rting simultaneously. for the parameters 010 (programming pulse duration) and 011 (strong pullup duration) one may select indefinite duration. this value, however, should only be selected if one is not going to switch the device to data mode. as long as the device stays in command mode, any pulse function (programming or strong pullup) that uses one of these parameters can be terminated by sending the command code f1h. termination is not possible if the device is in data mode. parameter 111 (rs232 baud rate ) has two functions. it selects the ba ud rate and allows inversion of the signal at the rxd pin. using one of the value c odes 100 to 111 will set the polarity at rxd to the opposite of what is defined by the logic level at th e pol pin (asymmetry bit, see figure 1). this may reduce the component count in some applications of the device. note that when changing the baud rate, the DS2480B will send the command respons e byte at the new data rate. a short explanation on the use of parameters 100 (write-1 low time) and 101 (data sample offset/write-0 recovery time) is given in the timing diagrams section later in this document.
DS2480B 13 of 31 table 4. configuration parameter value codes value codes parameter code 000 001 010 011 100 101 110 111 unit 001 (pdsrc) 15 2.2 1.65 1.37 1.1 0.83 0.7 0.55 v/s 010 (ppd) 32 64 128 256 512 1024 2048  s 011 (spud) 16.4 65.5 131 262 524 1048 ?dyn.?  ms 100 (w1lt) 8 9 10 11 12 13 14 15 s 101 (dso/w0rt) 3 4 5 6 7 8 9 10 s 110 (load) 1.8 2.1 2.4 2.7 3.0 3.3 3.6 3.9 ma 111 (rbr) 9.6 19.2 57.6 115.2 9.6 19.2 57.6 115.2 kbps the syntax of configuration commands is very simple . each 8-bit code word contains a 3-bit parameter code to specify the parameter and the 3-bit value code to be selected. bit 7 of the command code is set to 0 and bit 0 is always a 1. to read the value code of a parameter, one writes all 0s for the parameter code and puts the parameter code in place of the pa rameter value code. table 5 shows the details. the configuration command response byte is similar to the command byte itself. bit 0 of the response byte is always 0. when writing a parameter, the upper 7 bits are the echo of the command code. when reading a parameter, the current value code is return ed in bit positions 1 to 3 with the upper 4 bits being the same as sent (see table 6). table 5. configuration command codes function bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 write parameter 0 parameter code parameter value code 1 read parameter 0000 parameter code 1 table 6. configuration command response byte function bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 write parameter 0 same as sent same as sent 0 read parameter 0 same as sent parameter value code 0
DS2480B 14 of 31 controlled edges one of the tasks of the DS2480B is to actively shap e the edges of the 1-wire communication waveforms. this speeds up the recharging of the 1-wire bus (rising edges) and reduces ringing of long lines (falling edges). the circuitry for shaping rising edges is al ways on. the slew rate of falling edges is actively controlled only at flexible speed and requires the parameter for slew rate control being different from its power-on default value. all rising edges the active pullup of the rising edges reduces the rise time on the 1-wire bus significantly compared to a simple resistive pullup. figure 4 shows how the DS2480B is involved in shaping a rising edge. figure 4. active pullup the circuit operates as follows: at t 1 the pulldown (induced by the ds2480 b or a device on the bus) ends. from this point on the 1-wire bus is pulled high by the weak pullup current i weakpu provided by the DS2480B. the slope is determined by the load on th e bus and the value of the pullup current. at t 2 the voltage crosses the threshold voltage v iapo . now the DS2480B switches over from the weak pullup current i weakpu to the higher current i actpu . as a consequence, the voltage on the bus now rises faster. as the voltage on the bus crosses the threshold v iapto at t 3 , a timer is started. as long as this timer is on (t apuot ), the i actpu current will continue to flow. after th e timer is expired, the DS2480B will switch back to the weak pullup current. excessive noise on the 1-wire line at the v iapto level can cause an undesirable trip of the active pullup. extern al r-c filtering as discussed in the hardware application examples section and application note 148 should be used to prevent false triggering.
DS2480B 15 of 31 falling edges (ds 2480b-initiated) whenever the DS2480B begins pulling the 1-wire bus low to initiate a time slot, for example, it first turns off the weak pullup current i weakpu . then, at regular and overdrive speeds it will generate a falling edge at a slew rate of typically 15v/  s. this value is acceptable for short 1-wire busses and adequate for communication at overdrive speed. for microlan ne tworks of more than roughly 30m length one should always use flexible speed. one of the parameters th at is adjustable at flexible speed is the slew rate of DS2480B-initiated falling edges. the effect of the slew rate control is shown in figure 5. figure 5. slew rate control as extensive tests have shown, microlan networks at a length of up to 300m will perform best if the fall time t f is in the range of 4  0.5  s. this translates into a slew rate of approximately 1v/  s. this slew rate is typically achieved by setting the configuration para meter 001 (pulldown slew ra te control) to a value of 100 (see table 4). if the actual measured fall time is longer than the target value, one should use a value code of 011 or lower. if the fall time is shor ter, one should use a value code of 101 or higher. once determined, the value code for the pulldown slew rate control parameter should be stored in the host and always be loaded into the DS2480B after a power-on or master reset cycle. timing diagrams this section explains the waveforms generated by the DS2480B on the 1-wire bus in detail. first the communication waveforms such as the reset/presence detect sequence and the time slots are discussed. after that follows a detailed description of the pul se function under various conditions. the waveforms as generated by the DS2480B may deviate sl ightly from specifications found in the book of ds19xx ibutton standards or in data sheets of 1-wire slave devices. howeve r, at a closer look one will find that all of the timing requirements are met.
DS2480B 16 of 31 1-wire communication waveforms one of the major features of the DS2480B is that it relieves the host from ge nerating the timing of the 1-wire signals and sampling the 1-wire bus at the appropriate times. how this is done for the reset/presence detect sequence is shown in figure 6a. this sequence is composed of four timing segments: the reset low time t rstl , the short/interrupt sampling offset t si , the presence detect sampling offset t pdt and a delay time t fill . the timing segments t si , t pdt and t fill comprise the reset high time t rsth where 1-wire slave devices assert their presence or interrupt pulse. during this time the DS2480B pulls the 1-wire bus high with its weak pullup current. the values of all timing segments for all 1-wire speed options are shown in the table. since the reset/presence sequence is slow compared to the time slots, the values for regular and flexible speed are the same. except for the falling edge of the presence pulse all edges are controlled by the DS2480B. the shape of the uncontrolled falling edge is determined by the capacitance of the 1-wire bus and the number, speed and sink capability of the slave devices connected. figure 6a. reset/presence detect speed t rstl t si t pdt t fill t rsth regular 512s 8s 64s 512s 584s overdrive 64s 2s 8s 64s 74s flexible 512s 8s 64s 512s 584s after having received the command code for gene rating a reset/presence sequence, the DS2480B pulls the 1-wire bus low for t rstl and then lets it go back to 5v. the DS2480B will now wait for the short/interrupt sampling offset t si to expire and then test the voltage on the 1-wire bus to determine if there is a short or an interrupt signal. if there is no short or interrupt (as shown in the picture), the DS2480B will wait for t pdt and test the voltage on the 1-wire bus for a presence pulse. regardless of the result of the presence test, the DS2480B will then wait for t fill to expire and then send the command response byte to the host. if the test for interrupt or short reveals a logic 0, the DS2480B will wait for 4096  s and then test the 1-wire bus again. if a logic 0 is detected, the 1- wire bus is shorted and a command response byte with the code for short will be sent immediately. if a logic 1 is detected, the device will wait for t fill to expire, after which it will send the command response byte with the code for an alarming presence pulse. no additional testing for a presence pulse will be done. the DS2480B will pe rform the short/interrupt testing as described also at overdrive speed, althou gh interrupt signaling is only defined for regular speed. the idle time following the reset/presence detect sequence depends on the serial communication speed and the host?s response time.
DS2480B 17 of 31 a write-1 and read data time slot is comprised of the segments t low1 , t dso and t high . during write-1 time slots, after the write-1 low time t low1 is over, the DS2480B waits for th e duration of the data sample offset and then samples the voltage at the 1-wire bus to read the response. after this, the waiting time t high1 must expire before the time slot is complete. a write-0 time slot only consists of the two segments t low0 and t rec0 . if the network is large or heavily loaded, one should select flexible speed and extend t low1 to more than 8  s to allow the 1-wire bus to completely discharge. since a large or heavily loaded network needs more time to recharge, it is also recommended to delay sampling the bus for reading. a higher value for t dso will increase the voltage margin and also provide extra energy to the slave devices when generating a long series of write 0 time slots. however, the total of t low1 + t dso should not exceed 22  s*. otherwise the slave device responding may have stopped pulling the bus low when transmitting a logic 0. the idle time between time slots within a byte or during a 12-bit sequence while the search accelerator is on is 0. between bytes, 12-bit search sequences and single bits the idle time depends on the rs232 data rate and the host?s response time. the re sponse byte is sent to the host as soon as the last time slot of a byte, 12-bit sequence or the command is completed. figure 6b. write-1 and read data time slot speed t low1 t dso t high1 t slot * regular 8s 3s 49s 60s overdrive 1s 1s 8s 10s flexible 8s to 15s 3s to 10s 49s 60s to 74s figure 6c. write-0 time slot speed t low0 t rec0 t slot * regular 57s 3s 60s overdrive 7s 3s 10s flexible 57s 3s to 10s 60s to 67s *in a 5v environment (  1v, full temperature range) the tolerance of the internal time base of 1-wire slave devices is much narrower than what it is wh en operated at the minimum voltage of 2.8v. therefore, the timing generated by the DS2480B is in comp liance with the requirements of all microlan- compatible 1-wire devices.
DS2480B 18 of 31 pulse waveforms, disarmed the pulse command can be used to generate a strong pullup to 5v and a 12v programming pulse, respectively. the duration of the pulse is predefined if the parameter value code of parameter 010 (programming pulse duration) has a value from 000 to 110, and parameter 011 (strong pullup duration) has a value from 000 to 101 (see table 4). figures 7a and 7b show the timing of a pulse with predefined duration, which should be considered the normal case. with dynamic duration the pulse ends as soon as the current demand of the slave devices on the bus falls below the threshold of the load sensor. if infinite duration is chosen (parameter va lue code 111), the host must termin ate the pulse command, as shown in figures 7c and 7d. all versions of figure 7 assume that bit 1 of th e pulse command is 0, i.e., disarmed mode. see the communication commands: pulse section for more details on possibilities of the pulse command. figure 7a. strong pullup to 5v, predefined duration the processing of a pulse command is essentiall y the same, regardless if a strong pullup or a programming pulse is requested. at t 1 the host starts sending the pulse command byte. at t 2 the DS2480B has received the command and immediately generates the pulse. the pulse ends at t 3 and the DS2480B sends out the command response byte to inform th e host that the command is completed. the idle time between t 1 and t 2 is determined by the time to transmit the command byte at the selected baud rate. the idle time between t 3 and t 4 is comprised of the time to transmit the response byte, plus the response time of the host plus the time to transmit the command and/or data to generate the next time slot. figure 7b. 12v programming pu lse, predefin ed duration a correct programming pulse can only be generated if the 12v programming voltage is available at the v pp pin of the DS2480B. the rising and falling edges of the programming pulse are actively controlled by DS2480B. the slew rate is approximately 14v/s and meets the requireme nts of 1-wire eprom devices.
DS2480B 19 of 31 for eprom programming, only a single slave device should be connected to the 1-wire bus and the cable must to be short, not to exceed a few me ters. one should not attempt generating a programming pulse with a non-eprom device on the bus; this ma y damage the device as well as the DS2480B. certain applications may require a duration for a strong pullup or programming pulse that cannot be realized using one of the predefined values. selectin g infinite duration allows the host to generate pulses of any length. as a consequence, however, the host becomes responsible to actively control the duration of the pulse. failing to do so may require a power-on reset or master reset cycle of the DS2480B. for this reason, infinite duration should only be used if absolutely necessary. the time to end a pulse of infinite duration strongly depends on the baud rate of the communication between host and DS2480B. neglecting the response time of the host, the minimum pulse durations are: 86.8s at 115.2kbps, 173.6s at 57.6kbps, 520 s at 19.2kbps, and 1.04ms at 9.6kbps. figure 7c. strong pullup to 5v, infinite duration as before, processing the command is essentially the same, regardless if it is for a strong pullup or a programming pulse. at t 1 the host starts sending the pulse command byte. at t 2 the DS2480B has received the command and immediately activates the st rong pullup or switches in the 12v programming voltage. to end the pulse, the DS2480B must receiv e a termination command, code f1h, which occurs at t 3 . the termination command does not generate a response byte. the DS2480B will immediately end the pulse and send out the response byte of the pulse command. the idle time between t 1 and t 2 is determined by the time to transmit the command byte at the selected baud rate. the idle time between t 3 and t 4 is comprised of the time to transmit the pulse response byte, plus the response time of the host plus the time to transmit the command and/or data to generate the next time slot. figure 7d. 12v programming pulse, infinite duration
DS2480B 20 of 31 pulse waveform, armed as explained in the communication commands section, bit 1 of the pulse command allows the arming of a strong pullup to 5v if the bit is set to 1. if the strong pullup is armed and the device is switched to data mode, there will be a strong pullup immediately following every byte on the 1-wire bus. this mode is implemented to provide extra energy when writing to eeprom devices or to do a temperature conversion with the ds1920 temperature ibutton, for example. these devices need a strong pullup immediately after the power-consuming activity has been initiated by a command code. to arm the strong pullup, one usually generates a ?dum my? pulse with bit 1 being 1 while the device is in command mode. to save time, the dummy pulse may immediately be terminated by sending the termination command, code f1h. th en one switches to data mode and sends a command code that makes one or more slaves on the 1-wire bus re quire extra energy. after the command execution is finished, one switches back to command mode and disarms the stro ng pullup by generating another dummy pulse. a complete temperature conversion se quence that shows the use of the armed pulse is included in the software driver examples section . figure 8. strong pullup to 5v , armed, predefined duration figures 8 shows the timing of the strong pullup in data mode. at t 1 the 8 th time slot of the byte sent to the 1-wire bus is completed. without any delay th e DS2480B now activates the strong pullup and simultaneously starts sending the data response byte to the host. at t 2 the strong pullup ends and the DS2480B sends a pulse response byte to the host. the idle time between t 2 and t 3 is comprised of the time to transmit the pulse response byte, plus the res ponse time of the host plus the time to transmit the command and/or data to generate the next time slot. since in data mode the pulse termination command is not applicable, the duration of the strong pu llup must be limited. see table 4, parameter 011 (strong pullup duration) for details. dynamic duration is permissible in conjunction with the armed pulse function. however, the load sensor does not have the sensitivity required for detecting when the high current demand of a single 1-wire temperature sensor or eeprom de vice ends. since the duration of the high current demand of such devices depends on temperature and is slightly different for every individual device, even with multiple eeproms or temperature sensors operating simultaneously, dynamic duration should not be used. infinite duration, if accidentally selected, will require a power-on or master reset cycle to get the DS2480B back to communicating with the host.
DS2480B 21 of 31 single bit with strong pullup similar to the pulse command, the single bit co mmand also allows generating a strong pullup immediately following a time slot. the strong pullup of the single bit command, however, is controlled directly by bit 1 of the command code and theref ore needs not be armed. since the DS2480B remains in command mode when using the single bit comma nd, any duration of the strong pullup including dynamic as well as infinite may be selected. strong pullup immediately following a single time slot is used in conjunction with the crypto ibutton. under certain conditions the crypto ibutton sends out a single bit and then immediately starts executing a firmware program. this raises the energy demand significantly until the program comes to a halt, at which point the host computer has to be interrupte d. the dynamic duration option of the strong pullup supplies energy for any duration as needed and automatically notifies the host that the crypto ibutton is ready for the next command. figure 9a. single bit with stro ng pullup, pred efined duration figure 9 shows the timing of the single bit command immediately following strong pullup. for predefined and dynamic duration (figure 9a) the timing is as follows: at t 1 the time slot is completed. now the DS2480B activates the strong pullup and simulta neously starts sending the response byte of the single bit command to the host. at t 2 the strong pullup ends and the DS2480B sends out a pulse response byte. the idle time between t 2 and t 3 is comprised of the time to transmit the pulse response byte, plus the response time of the host plus the time to transmit the command and/or data to gene rate the next time slot. figure 9b. single bit with strong pullup, infinite duration for infinite duration (figure 9b) the strong pullup also begins immediately after the time slot is completed. to end the strong pullup, the DS2480B must receive a termination command, code f1h, which occurs at t 2 . the termination command does not genera te a response byte. the DS2480B will then immediately end the strong pullup and send out a pulse re sponse byte. everything else is the same as with predefined duration.
DS2480B 22 of 31 the minimum duration of a strong pullup of infinite duration strongly depends on the baud rate of the communication between host and DS2480B. the host must first receive the response byte of the single bit command, react to it and then transmit the ter mination command. neglecting the host?s response time, the shortest duration of an infin ite strong pullup therefore is 173.6  s at 115.2kbps, 347.2  s at 57.6kbps, 1.04ms at 19.2kbps, and 2.08ms at 9.6kbps. software driver examples the DS2480B requires a software driv er that translates the activities to be generated on the 1-wire bus into the appropriate commands. the examples below co ver typical situations, such as reading the rom, writing to the scratchpad of a memory ibu tton, reading the memory of a memory i button, programming an add-only ibutton eprom and performing a te mperature conversion with the ds1920 temperature ibutton. an example for the use of the search accelerator is included in the search accelerator section found earlier in this document. the DS2480B command codes used in these examples ar e valid for regular speed and will work properly on short 1-wire buses (<10m). the response byte on the reset command assumes a normal presence pulse, no alarm or short. the DS2480B includes a 1-byte buffer that stores a byte received from the host while the previous byte is being translated into activity on the 1-wire bus. for this reason the host may send another byte even without having received the response byte. sending bytes faster than they can be translated into 1-wire activities may result in loss of data and/or synchronization a nd therefore should be avoided. read rom sequence action sequence host tx host rx generate reset pulse c1 cd or ed set data mode e1 (nothing) read rom command 33 (as sent) read rom id (8 bytes) ff (x8) rom id set command mode e3 (nothing) generate reset pulse c1 cd or ed write scratchpad sequence write 2 bytes to scratchpad at memory locations 16h and 17h action sequence host tx host rx generate reset pulse c1 cd or ed set data mode e1 (nothing) skip rom command cc cc write scratchpad co mmand 0f (as sent) starting address ta1 16 (as sent) starting address ta2 00 (as sent) write to the scratchpad (2 bytes) (as sent) set command mode e3 (nothing) generate reset pulse c1 cd or ed
DS2480B 23 of 31 read memory sequence action sequence host tx host rx generate reset pulse c1 cd or ed set data mode e1 (nothing) skip rom command cc cc read memory command f0 (as sent) starting address ta1 40 (as sent) starting address ta2 00 (as sent) read 8 bytes of data ff (x8) (data) set command mode e3 (nothing) generate reset pulse c1 cd or ed write eprom sequence (ds2505) write memory starting at address 40h action sequence host tx host rx set vpp dur. = 512s 29 28 generate reset pulse c1 cd or ed set data mode e1 (nothing) skip rom command cc (as sent) write memory command 0f (as sent) starting address ta1 40 (as sent) starting address ta2 00 (as sent) *** send data byte (data) (as sent) receive crc16 ff (x2) crc16 set command mode e3 (nothing) generate program pulse fd response set data mode e1 (nothing) read written byte ff (data) go to *** to write the next byte or end the sequence as shown below set command mode e3 (nothing) generate reset pulse c1 cd or ed temperature conversion sequence action sequence host tx host rx set pullup dur. = 524ms 39 38 generate reset pulse c1 cd or ed set data mode e1 (nothing) skip rom command cc (as sent) set command mode e3 (nothing) arm strong pullup ef (nothing) terminate pulse f1 response set data mode e1 (nothing) convert temperature 44 (as sent) wait for pulse response (nothing) response set command mode e3 (nothing) disarm strong pullup ed (nothing) terminate pulse f1 response generate reset pulse c1 cd or ed
DS2480B 24 of 31 hardware application examples this section discusses five typi cal application scenarios. the ds 2480b can be configured for eprom programming as well as for 5v operation only. output filtering as described in the controlled edges section, the DS2480B employs an active pullup on the rising edges of the 1-wire waveform. excessive noise on the 1-wire line in th e region of the pullup trip voltage, v iapto, can cause an undesirable trip of the active pullup, which can disr upt 1-wire communication. ex ternal r-c filtering as shown in figure 10 should be added to all DS2480B configurations with the exception of those that perform eprom programming or that are operating in overdrive mode. for eprom programming configurations the r-c filter cannot be used due to the voltage drop that will develop across the 100 ? resistor during programming. figure 10. r-c filtering 1-wire bus return 5 v 5v operation only gnd 1-w pol vdd vpp rxd txd ds2480 470 pf 100 ohms ds9503 to protect the 1-wire port of the DS2480B from electr ostatic discharge it is recommended to use a low- capacitance esd protection diode, su ch as the ds950x devices. for 5v operation a single device is sufficient. for eprom programming two ds950x devices must be connected in se ries to achieve a high enough breakdown voltage. figures 11a-c are examples of connecting the ds 2480b directly to a uart or rs232c interface. the circuit becomes more complex if a 1-wire bus is to be interfaced to a port that provides and expects inverted signals, but does not necessarily meet the rs232c (  12v) standard (figure 11b).
DS2480B 25 of 31 figure 11a. uart direct sin (rxd) sout (txd) uart or c start stop 1 0 lm 1-wire bus return 12 v gnd 1-w pol vdd vpp rxd txd ds2480 5v regulator 5 v * only one ds950x esd protection device with 5v with eprom programming 5v operation only gnd 1-w pol vdd vpp rxd txd ds2480 * 470 pf 100 ohms optional filter ds9503 ds9503 ds9503 figure 11b. 5v rs232 sin (rxd) sout (txd) uart or c start stop 1 0 lm 1-wire bus return dtr power stealing gnd 1-w pol vpp vdd rxd txd ds2480 470 pf 100 ohms optional filter rts see text 22 f 0.1 f ds9503 the signals dtr and rts provide the power to opera te the DS2480B. the resistor in the txd line and the schottky diode limit the negative voltage at th e txd pin of the DS2480B to 0.3v maximum. the resistor is typically 4.7k  . if the inverting driver is current-limited to 1ma the resistor is not required. from the DS2480B?s perspective, this circ uit will work with inverted signals of  5v as well as 0 to 5v. depending on the voltage levels the host expects, it may be necessary to generate a negative voltage on the rxd line. figure 11c shows how this can be accomplished for a true rs232c system.
DS2480B 26 of 31 figure 11c. 12v rs232 sin ( rxd ) sout ( txd ) uart or c start stop 1 0 lm 1-wire bus return dtr power stealing gnd 1-w pol vpp vdd rxd txd ds2480 rts see text 2.7k 4.7v 5v regulator 6.8k 1 f bss110 s d +12vdc programming * * only one ds950x esd protection device with 5v ds9503 ds9503 in the interface to a true rs232c system (  12v, figure 11c) the power for the DS2480B is stolen from dtr and rts. the software must make sure that at least one of these signals constantly provides the 12v operating voltage. the 6.8k  resistor and the 4.7v zener diode in the txd line limit the positive voltage at the txd pin of the DS2480B. the schottky diode limits the negative voltage to 0.3v maximum. the schottky diode in series with capacitor forms a para sitic supply to generate the negative bias for the host?s receive channel. the positive signal is switc hed in through the p-channel mosfet that connects to the rxd output of the DS2480B. in this circu it diagram the mosfet switches the rxd line to +5v, which normally is sufficient for rs232c systems. switching to 12v is also possible, but requires a p-ch annel transistor with a different threshold voltage. the signal inversion caused by the transistor is compensated through the DS2480B by using a value code of 100, 101, 110, or 111 for the rs232 baud rate setting.
DS2480B 27 of 31 figure 11d. uart direct opto-isolated sin ( rxd ) sout (txd) uart or c start stop 1 0 lm 5 v dc to dc converter * 1-wire bus return gnd 1-w pol vdd vpp rxd txd ds2480 * only one ds950x esd protection device with 5v 5v 12 v hcpl-2300 2.7k 5.1k 2.7k 5.1k ds9503 ds9503 the circuit in figure 11d is essen tially the same as in figure 11a. the main difference is the opto- isolation. the characteristics of th e opto-isolators are not very critical . using a different type will affect the values of the resistors that limit the current through the leds and bias the photo transistors. figure 11e. 5 to 12v rs232 opto-isolated sin ( rxd ) sout ( txd ) uart or c start stop 1 0 lm 1-wire bus return dtr power stealing gnd 1-w pol vpp vdd rxd txd ds2480 rts 2.7k hcpl-2300 5v regulator 1.5k 1 f hcpl-2202 5v +12vdc programming * * only one ds950x esd protection device with 5v 1.5k dc/dc convert. ds9503 ds9503 the circuit in figure 11e combines the true rs232c interface with opto-isolation. the energy to power the led in the txd channel and to provide the positiv e voltage for the host?s rxd input is stolen from dtr and rts. the negative voltage for the rxd input is taken from the txd line through a parasitic supply consisting of a schottky diode in series w ith a capacitor. the hcpl-2202 opto-isolator has a totem pole output that allows switching in positive as well as negative voltage. the +5v are sufficient for most rs232c systems. switching in 12v requires an opt o-isolator with different voltage characteristics. in the schematic the hcpl-2202 opto-isolator is sour ced by the rxd pin of the DS2480B. it can as well be connected the traditional way where the DS2480B sinks the current through the led. this, however, causes a signal inversion that has to be compensa ted through the DS2480B by using a value code of 100, 101, 110, or 111 for the rs232 baud rate setting. using ot her types of opto-isolators than shown in the schematic will at least require changing the values of the resistors.
DS2480B 28 of 31 figure 12. rs232 data timing rxd line figure 13. receive delay timing figure 14. rs232 data timing txd line figure 15. txd line asymmetry
DS2480B 29 of 31 table 7. function and speed matrix 1-wire speed baud rate regular flexible overdrive function ?? search 9600bps ?? command/data xx search 19200bps x command/data xx search 57600bps xx command/data xxxsearch 115200bps xx command/data t idlet is guaranteed by the uart; no precautions necessary. x not recommended unless t idlet is controlled by the host through a wait function.
DS2480B 30 of 31 absolute maximum ratings* voltage on 1-w to ground -0.5v to +14.0v voltage on rxd, txd, pol to ground -0.5v to +7.0v operating temperature range -40  c to +85  c storage temperature range -55  c to +125  c soldering temperature see ipc/jedec j-std-020a specification * this is a stress rating only and functional operation of the device at these or any other conditions above those indicated in the operation sections of this specification is not implied. exposure to absolute maximum rating conditions for extended periods of time may affect reliability. dc electrical characteristics (v dd = 4.5v to 5.5v; -40c to +85c) parameter symbol min typ max units notes supply voltage v dd 4.5 5.0 5.5 v programming voltage v pp 12.0 12.25 v 1 operating current i dd 3.0 5.0 ma idle current on v pp i pp 20 a2 active pullup timer threshold v iapto v dd - 1.4 v dd - 1.1 v active pullup on threshold v iapo 0.95 1.2 v 15 1-wire input high v ih1 3.4 v 1-wire input low v il1 1.8 v txd/pol input resistor r i 30 k ? 3 txd/pol input levels v ih 2.7 v txd/pol input levels v il 0.8 v 1-wire weak pullup current i weakpu 1.5 3.0 5.0 ma 15 1-wire active pullup current i actpu 915 ma strong pullup voltage drop @ 10ma load on 1-w  v strpu 0.6 v 4 programming voltage drop @ 10ma load on 1-w  v prog 0.30 v 5 rxd sink current @ 0.4v i olr 6ma rxd source current @ v dd -0.4v i ohr -4 ma power on reset trip point v por 3.3 v v pp sensor trip point v pptrip 9.5 v capacitances (t a = 25c) parameter symbol min typ max units notes txd/pol input capacitance c in 5pf17 1-wire input capacitance c in1 10 pf 17
DS2480B 31 of 31 ac electrical characteristics (v dd = 4.5v to 5.5v; -40c to +85c) parameter symbol min typ max units notes uart bit time t t 8.68 104 s6 device bit time t r 8.68 104 s 6, 7, 16 fall time rxd t fr 8 20 ns 8,17 rise time rxd t rr 13 27 ns 8,17 transmit idle time t idlet 0 s9 receive idle time t idler t idlet s asymmetry t asym 1 s10 arrival response time t arr 4.4 52 s11 master reset time t mr 104 s12 active pullup on time t apuot 0.5 2.0 s13 response time t resp 8.68 +  104 +  s 11, 14 notes: 1. v pp -  v prog must be within 11.5v to 12.0v. 2. applies only if a 12.0v supply is connected. if v pp and v dd are tied together, current is less than 1  a. 3. input load is to gnd. 4. voltage difference between v dd and 1-w. 5. voltage difference between v pp and 1-w. 6. 8.68  s (115.2kbps), 52  s (19.2kbps), 17.36  s (57.6kbps), 104  s (9.6kbps). 7. nominal values; tolerance =  5%. 8. at v cc = 5.0v and 100pf load to gnd. 9. see table 7, function and speed matrix . 10. independent of baud rate. 11. minimum at 115.2kbps, maximum at 9.6kbps. 12. the master reset cycle is complete after t mr is over. 13. minimum value at overdrive speed; maximum value at regular speed. 14.  is the time to complete the activity on the 1-wire bus; values range from 0 (configuration command) up to 5130  s (alarming presence pulse). 15. with regular and flexible speed the total capacitiv e load of the 1-wire bus should not exceed 20nf, otherwise the active pullup on threshold v iapo may not be reached in the available time. with overdrive speed the capacitive load on the 1-wire bus must not exceed 1nf. 16. baud rate calibration is valid at a static v dd operating point. post calibration changes in v dd by more than 5% may cause calibration error to exceed 5%. 17. not production tested.


▲Up To Search▲   

 
Price & Availability of DS2480B

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X